import React from 'react'
import withMouse from './withMouse'
function Position(props) {
  console.log(props)
  return (
    <div>
      <p>
        x: {props.x}---y:{props.y}
      </p>
    </div>
  )
}

export default withMouse(Position)
